<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>UniMRCP: mpf_rtp_descriptor.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">UniMRCP
   &#160;<span id="projectnumber">1.5.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6719ab1f1f7655efc2fa43f7eb574fd1.html">libs</a></li><li class="navelem"><a class="el" href="dir_342be8fa773ff0594874056fe107febd.html">mpf</a></li><li class="navelem"><a class="el" href="dir_3c1f389eca1f441ba1c98a8d099f902a.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">mpf_rtp_descriptor.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="mpf__rtp__descriptor_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright 2008-2015 Arsen Chaloyan</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * you may not use this file except in compliance with the License.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *     http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * See the License for the specific language governing permissions and</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * limitations under the License.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#ifndef MPF_RTP_DESCRIPTOR_H</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define MPF_RTP_DESCRIPTOR_H</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor"></span><span class="comment"></span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">/**</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * @file mpf_rtp_descriptor.h</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * @brief MPF RTP Stream Descriptor</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> */</span> </div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;apr_network_io.h&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="apt__string_8h.html">apt_string.h</a>&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="mpf__stream__descriptor_8h.html">mpf_stream_descriptor.h</a>&quot;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<a class="code" href="apt_8h.html#ad3d792bfc75893affad257781ea46e55">APT_BEGIN_EXTERN_C</a></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">/** RTP media descriptor declaration */</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="mpf__rtp__descriptor_8h.html#a7b02804116978ede7e5634f840429591">   32</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structmpf__rtp__media__descriptor__t.html">mpf_rtp_media_descriptor_t</a> <a class="code" href="structmpf__rtp__media__descriptor__t.html">mpf_rtp_media_descriptor_t</a>;<span class="comment"></span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment">/** RTP stream descriptor declaration */</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="mpf__rtp__descriptor_8h.html#a2e18c20ff615048bb56bef176d39f8e0">   34</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structmpf__rtp__stream__descriptor__t.html">mpf_rtp_stream_descriptor_t</a> <a class="code" href="structmpf__rtp__stream__descriptor__t.html">mpf_rtp_stream_descriptor_t</a>;<span class="comment"></span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment">/** RTP termination descriptor declaration */</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="mpf__rtp__descriptor_8h.html#abe68838502d7a2ed200c06409f51e397">   36</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structmpf__rtp__termination__descriptor__t.html">mpf_rtp_termination_descriptor_t</a> <a class="code" href="structmpf__rtp__termination__descriptor__t.html">mpf_rtp_termination_descriptor_t</a>;<span class="comment"></span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment">/** RTP configuration declaration */</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="mpf__rtp__descriptor_8h.html#a58b4391bf64095dbfa721cea616d2a69">   38</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structmpf__rtp__config__t.html">mpf_rtp_config_t</a> <a class="code" href="structmpf__rtp__config__t.html">mpf_rtp_config_t</a>;<span class="comment"></span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">/** RTP settings declaration */</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="mpf__rtp__descriptor_8h.html#a33f72173c74312362835843df09ed1c0">   40</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structmpf__rtp__settings__t.html">mpf_rtp_settings_t</a> <a class="code" href="structmpf__rtp__settings__t.html">mpf_rtp_settings_t</a>;<span class="comment"></span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment">/** Jitter buffer configuration declaration */</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="mpf__rtp__descriptor_8h.html#adb74fd526b3d153b6a9c0edeff8b8665">   42</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structmpf__jb__config__t.html">mpf_jb_config_t</a> <a class="code" href="structmpf__jb__config__t.html">mpf_jb_config_t</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="comment">/** MPF media state */</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="mpf__rtp__descriptor_8h.html#ad569dee3730070c26e62010209646db7">   45</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="mpf__rtp__descriptor_8h.html#ad569dee3730070c26e62010209646db7a5721a863cd49fceb0445ace1f8bfeeec">   46</a></span>&#160;    <a class="code" href="mpf__rtp__descriptor_8h.html#ad569dee3730070c26e62010209646db7a5721a863cd49fceb0445ace1f8bfeeec">MPF_MEDIA_DISABLED</a>, <span class="comment">/**&lt; disabled media */</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="mpf__rtp__descriptor_8h.html#ad569dee3730070c26e62010209646db7a6293631fbf5fc7adeb2e4cb6a351665c">   47</a></span>&#160;    <a class="code" href="mpf__rtp__descriptor_8h.html#ad569dee3730070c26e62010209646db7a6293631fbf5fc7adeb2e4cb6a351665c">MPF_MEDIA_ENABLED</a>   <span class="comment">/**&lt; enabled media */</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;} <a class="code" href="mpf__rtp__descriptor_8h.html#ad569dee3730070c26e62010209646db7">mpf_media_state_e</a>;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment">/** RTP media (local/remote) descriptor */</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="structmpf__rtp__media__descriptor__t.html">   51</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmpf__rtp__media__descriptor__t.html">mpf_rtp_media_descriptor_t</a> {<span class="comment"></span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="comment">    /** Media state (disabled/enabled)*/</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structmpf__rtp__media__descriptor__t.html#a4ae3ae6a2d3a9bdd8efd197d7b1ecae7">   53</a></span>&#160;    <a class="code" href="mpf__rtp__descriptor_8h.html#ad569dee3730070c26e62010209646db7">mpf_media_state_e</a>      <a class="code" href="structmpf__rtp__media__descriptor__t.html#a4ae3ae6a2d3a9bdd8efd197d7b1ecae7">state</a>;<span class="comment"></span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="comment">    /** IP address */</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="structmpf__rtp__media__descriptor__t.html#a1d8edf7cbc30ea2519a77c3b4f45a8ac">   55</a></span>&#160;    <a class="code" href="structapt__str__t.html">apt_str_t</a>              <a class="code" href="structmpf__rtp__media__descriptor__t.html#a1d8edf7cbc30ea2519a77c3b4f45a8ac">ip</a>;<span class="comment"></span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="comment">    /** External (NAT) IP address */</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structmpf__rtp__media__descriptor__t.html#aac498739bd50ec98dbefe2e59beb2e6d">   57</a></span>&#160;    <a class="code" href="structapt__str__t.html">apt_str_t</a>              <a class="code" href="structmpf__rtp__media__descriptor__t.html#aac498739bd50ec98dbefe2e59beb2e6d">ext_ip</a>;<span class="comment"></span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="comment">    /** Port */</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="structmpf__rtp__media__descriptor__t.html#a638ef8ef7d38ee333206b58f38c72187">   59</a></span>&#160;    apr_port_t             <a class="code" href="structmpf__rtp__media__descriptor__t.html#a638ef8ef7d38ee333206b58f38c72187">port</a>;<span class="comment"></span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="comment">    /** Stream mode (send/receive) */</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="structmpf__rtp__media__descriptor__t.html#aaffc98c457718704f6d598dd4498e57e">   61</a></span>&#160;    <a class="code" href="mpf__stream__descriptor_8h.html#abc837ef6b117215b6635a4fb8f70ad93">mpf_stream_direction_e</a> <a class="code" href="structmpf__rtp__media__descriptor__t.html#aaffc98c457718704f6d598dd4498e57e">direction</a>;<span class="comment"></span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="comment">    /** Packetization time */</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="structmpf__rtp__media__descriptor__t.html#a99de81ebe2d332ff48d1f151cfa16b65">   63</a></span>&#160;    apr_uint16_t           <a class="code" href="structmpf__rtp__media__descriptor__t.html#a99de81ebe2d332ff48d1f151cfa16b65">ptime</a>;<span class="comment"></span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="comment">    /** Codec list */</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="structmpf__rtp__media__descriptor__t.html#abb1dc7754473d60914465e0b3d3308f9">   65</a></span>&#160;    <a class="code" href="structmpf__codec__list__t.html">mpf_codec_list_t</a>       <a class="code" href="structmpf__rtp__media__descriptor__t.html#abb1dc7754473d60914465e0b3d3308f9">codec_list</a>;<span class="comment"></span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="comment">    /** Media identifier */</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="structmpf__rtp__media__descriptor__t.html#a25ccf1eaab43d2b2c60057fc5d0c32a2">   67</a></span>&#160;    apr_size_t             <a class="code" href="structmpf__rtp__media__descriptor__t.html#a25ccf1eaab43d2b2c60057fc5d0c32a2">mid</a>;<span class="comment"></span></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="comment">    /** Position, order in SDP message (0,1,...) */</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="structmpf__rtp__media__descriptor__t.html#a0245dda1c9ad0738a0218f010112b024">   69</a></span>&#160;    apr_size_t             <a class="code" href="structmpf__rtp__media__descriptor__t.html#a0245dda1c9ad0738a0218f010112b024">id</a>;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;};</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="comment">/** RTP stream descriptor */</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="structmpf__rtp__stream__descriptor__t.html">   73</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmpf__rtp__stream__descriptor__t.html">mpf_rtp_stream_descriptor_t</a> {<span class="comment"></span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="comment">    /** Stream capabilities */</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="structmpf__rtp__stream__descriptor__t.html#aa266b78cc4585b6903e0bb650ff6c4eb">   75</a></span>&#160;    <a class="code" href="structmpf__stream__capabilities__t.html">mpf_stream_capabilities_t</a>  *<a class="code" href="structmpf__rtp__stream__descriptor__t.html#aa266b78cc4585b6903e0bb650ff6c4eb">capabilities</a>;<span class="comment"></span></div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="comment">    /** Local media descriptor */</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="structmpf__rtp__stream__descriptor__t.html#a49a1f947e4b6ee48d1c6b7e3c522debc">   77</a></span>&#160;    <a class="code" href="structmpf__rtp__media__descriptor__t.html">mpf_rtp_media_descriptor_t</a> *<a class="code" href="structmpf__rtp__stream__descriptor__t.html#a49a1f947e4b6ee48d1c6b7e3c522debc">local</a>;<span class="comment"></span></div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="comment">    /** Remote media descriptor */</span></div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="structmpf__rtp__stream__descriptor__t.html#a2d3cbcf8d57d31fe3bf26d821aa640d2">   79</a></span>&#160;    <a class="code" href="structmpf__rtp__media__descriptor__t.html">mpf_rtp_media_descriptor_t</a> *<a class="code" href="structmpf__rtp__stream__descriptor__t.html#a2d3cbcf8d57d31fe3bf26d821aa640d2">remote</a>;<span class="comment"></span></div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="comment">    /** Settings loaded from config */</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="structmpf__rtp__stream__descriptor__t.html#ac528ba1c4d4a8b4201fbf1dc1bd23e4c">   81</a></span>&#160;    <a class="code" href="structmpf__rtp__settings__t.html">mpf_rtp_settings_t</a>         *<a class="code" href="structmpf__rtp__stream__descriptor__t.html#ac528ba1c4d4a8b4201fbf1dc1bd23e4c">settings</a>;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;};</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="comment">/** RTP termination descriptor */</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="structmpf__rtp__termination__descriptor__t.html">   85</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmpf__rtp__termination__descriptor__t.html">mpf_rtp_termination_descriptor_t</a> {<span class="comment"></span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="comment">    /** Audio stream descriptor */</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="structmpf__rtp__termination__descriptor__t.html#a1b1a50f79709d1abfd9aba5dadf40fd9">   87</a></span>&#160;    <a class="code" href="structmpf__rtp__stream__descriptor__t.html">mpf_rtp_stream_descriptor_t</a> <a class="code" href="structmpf__rtp__termination__descriptor__t.html#a1b1a50f79709d1abfd9aba5dadf40fd9">audio</a>;<span class="comment"></span></div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="comment">    /** Video stream descriptor */</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="structmpf__rtp__termination__descriptor__t.html#ae998663600197f8e86ca79affc1a03eb">   89</a></span>&#160;    <a class="code" href="structmpf__rtp__stream__descriptor__t.html">mpf_rtp_stream_descriptor_t</a> <a class="code" href="structmpf__rtp__termination__descriptor__t.html#ae998663600197f8e86ca79affc1a03eb">video</a>;</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;};</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="comment">/** Jitter buffer configuration */</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="structmpf__jb__config__t.html">   93</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmpf__jb__config__t.html">mpf_jb_config_t</a> {<span class="comment"></span></div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="comment">    /** Min playout delay in msec */</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="structmpf__jb__config__t.html#a91539a43b6e7ee2247763567dcc11ff8">   95</a></span>&#160;    apr_uint32_t <a class="code" href="structmpf__jb__config__t.html#a91539a43b6e7ee2247763567dcc11ff8">min_playout_delay</a>;<span class="comment"></span></div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="comment">    /** Initial playout delay in msec */</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="structmpf__jb__config__t.html#a90ca941bfd7957d387e1bb6a246b736e">   97</a></span>&#160;    apr_uint32_t <a class="code" href="structmpf__jb__config__t.html#a90ca941bfd7957d387e1bb6a246b736e">initial_playout_delay</a>;<span class="comment"></span></div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="comment">    /** Max playout delay in msec */</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structmpf__jb__config__t.html#a8c69430a82a60df4e041b6a61d815a40">   99</a></span>&#160;    apr_uint32_t <a class="code" href="structmpf__jb__config__t.html#a8c69430a82a60df4e041b6a61d815a40">max_playout_delay</a>;<span class="comment"></span></div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="comment">    /** Mode of operation of the jitter buffer: static - 0, adaptive - 1 */</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="structmpf__jb__config__t.html#a61f7c24c1b3528c608102ca58448a9a5">  101</a></span>&#160;    apr_byte_t <a class="code" href="structmpf__jb__config__t.html#a61f7c24c1b3528c608102ca58448a9a5">adaptive</a>;<span class="comment"></span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="comment">    /** Enable/disable time skew detection */</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="structmpf__jb__config__t.html#a9f1af529f745ae9d2ac2e42031906a48">  103</a></span>&#160;    apr_byte_t <a class="code" href="structmpf__jb__config__t.html#a9f1af529f745ae9d2ac2e42031906a48">time_skew_detection</a>;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;};</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="comment">/** RTCP BYE transmission policy */</span></div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="mpf__rtp__descriptor_8h.html#a67a95eac5238b1d777eec244adc2819a">  107</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="mpf__rtp__descriptor_8h.html#a67a95eac5238b1d777eec244adc2819aa24f884a815c37bb66c475119c25a8c2b">  108</a></span>&#160;    <a class="code" href="mpf__rtp__descriptor_8h.html#a67a95eac5238b1d777eec244adc2819aa24f884a815c37bb66c475119c25a8c2b">RTCP_BYE_DISABLE</a>,       <span class="comment">/**&lt; disable RTCP BYE transmission */</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="mpf__rtp__descriptor_8h.html#a67a95eac5238b1d777eec244adc2819aa29d08e6fe3b1743bf997aeaff743c14c">  109</a></span>&#160;    <a class="code" href="mpf__rtp__descriptor_8h.html#a67a95eac5238b1d777eec244adc2819aa29d08e6fe3b1743bf997aeaff743c14c">RTCP_BYE_PER_SESSION</a>,   <span class="comment">/**&lt; transmit RTCP BYE at the end of session */</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="mpf__rtp__descriptor_8h.html#a67a95eac5238b1d777eec244adc2819aaf4086feb9685b1e51f41da298b14e08e">  110</a></span>&#160;    <a class="code" href="mpf__rtp__descriptor_8h.html#a67a95eac5238b1d777eec244adc2819aaf4086feb9685b1e51f41da298b14e08e">RTCP_BYE_PER_TALKSPURT</a>  <span class="comment">/**&lt; transmit RTCP BYE at the end of each talkspurt (input) */</span></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;} <a class="code" href="mpf__rtp__descriptor_8h.html#a67a95eac5238b1d777eec244adc2819a">rtcp_bye_policy_e</a>;</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="comment">/** RTP factory config */</span></div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="structmpf__rtp__config__t.html">  114</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmpf__rtp__config__t.html">mpf_rtp_config_t</a> {<span class="comment"></span></div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="comment">    /** Local IP address to bind to */</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="structmpf__rtp__config__t.html#af2a23c05a4454e5359ebc8915fc86e21">  116</a></span>&#160;    <a class="code" href="structapt__str__t.html">apt_str_t</a>         <a class="code" href="structmpf__rtp__config__t.html#af2a23c05a4454e5359ebc8915fc86e21">ip</a>;<span class="comment"></span></div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="comment">    /** External (NAT) IP address */</span></div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="structmpf__rtp__config__t.html#a3a73403397c270c3e01dbf9bf21e4d20">  118</a></span>&#160;    <a class="code" href="structapt__str__t.html">apt_str_t</a>         <a class="code" href="structmpf__rtp__config__t.html#a3a73403397c270c3e01dbf9bf21e4d20">ext_ip</a>;<span class="comment"></span></div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="comment">    /** Min RTP port */</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="structmpf__rtp__config__t.html#a5acc66213bba7940d28f821fe2b0f085">  120</a></span>&#160;    apr_port_t        <a class="code" href="structmpf__rtp__config__t.html#a5acc66213bba7940d28f821fe2b0f085">rtp_port_min</a>;<span class="comment"></span></div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="comment">    /** Max RTP port */</span></div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="structmpf__rtp__config__t.html#ab8ede8f9c8c5a7c3c9cc85c7dec01146">  122</a></span>&#160;    apr_port_t        <a class="code" href="structmpf__rtp__config__t.html#ab8ede8f9c8c5a7c3c9cc85c7dec01146">rtp_port_max</a>;<span class="comment"></span></div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="comment">    /** Current RTP port */</span></div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="structmpf__rtp__config__t.html#a4a2858cee85ceb94f5e7c68a3fe71f53">  124</a></span>&#160;    apr_port_t        <a class="code" href="structmpf__rtp__config__t.html#a4a2858cee85ceb94f5e7c68a3fe71f53">rtp_port_cur</a>;</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;};</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="comment">/** RTP settings */</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="structmpf__rtp__settings__t.html">  128</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmpf__rtp__settings__t.html">mpf_rtp_settings_t</a> {<span class="comment"></span></div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="comment">    /** Packetization time */</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="structmpf__rtp__settings__t.html#ae21f9985830baff24b2536388d333a27">  130</a></span>&#160;    apr_uint16_t      <a class="code" href="structmpf__rtp__settings__t.html#ae21f9985830baff24b2536388d333a27">ptime</a>;<span class="comment"></span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="comment">    /** Codec list */</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="structmpf__rtp__settings__t.html#ac2a1da60e7f3bd444f944308005ec37b">  132</a></span>&#160;    <a class="code" href="structmpf__codec__list__t.html">mpf_codec_list_t</a>  <a class="code" href="structmpf__rtp__settings__t.html#ac2a1da60e7f3bd444f944308005ec37b">codec_list</a>;<span class="comment"></span></div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="comment">    /** Preference in offer/anwser: 1 - own(local) preference, 0 - remote preference */</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="structmpf__rtp__settings__t.html#a4327c21be7d38aa4e037be189554945b">  134</a></span>&#160;    <a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>        <a class="code" href="structmpf__rtp__settings__t.html#a4327c21be7d38aa4e037be189554945b">own_preferrence</a>;<span class="comment"></span></div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="comment">    /** Enable/disable RTCP support */</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="structmpf__rtp__settings__t.html#a2c261560e392746406a0d5372cfcb632">  136</a></span>&#160;    <a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>        <a class="code" href="structmpf__rtp__settings__t.html#a2c261560e392746406a0d5372cfcb632">rtcp</a>;<span class="comment"></span></div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="comment">    /** RTCP BYE policy */</span></div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="structmpf__rtp__settings__t.html#a2d6544cbde3b2e13b1575a6259292c57">  138</a></span>&#160;    <a class="code" href="mpf__rtp__descriptor_8h.html#a67a95eac5238b1d777eec244adc2819a">rtcp_bye_policy_e</a> <a class="code" href="structmpf__rtp__settings__t.html#a2d6544cbde3b2e13b1575a6259292c57">rtcp_bye_policy</a>;<span class="comment"></span></div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="comment">    /** RTCP report transmission interval */</span></div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="structmpf__rtp__settings__t.html#a6b2427c0748390c94945cce77bb7ff2e">  140</a></span>&#160;    apr_uint16_t      <a class="code" href="structmpf__rtp__settings__t.html#a6b2427c0748390c94945cce77bb7ff2e">rtcp_tx_interval</a>;<span class="comment"></span></div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="comment">    /** RTCP rx resolution (timeout to check for a new RTCP message) */</span></div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="structmpf__rtp__settings__t.html#a4dae123e00399d1c7bb0e0c431a0435a">  142</a></span>&#160;    apr_uint16_t      <a class="code" href="structmpf__rtp__settings__t.html#a4dae123e00399d1c7bb0e0c431a0435a">rtcp_rx_resolution</a>;<span class="comment"></span></div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="comment">    /** Jitter buffer config */</span></div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="structmpf__rtp__settings__t.html#ae50e3c098edb2bd71522b49a02f6dadb">  144</a></span>&#160;    <a class="code" href="structmpf__jb__config__t.html">mpf_jb_config_t</a>   <a class="code" href="structmpf__rtp__settings__t.html#ae50e3c098edb2bd71522b49a02f6dadb">jb_config</a>;</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;};</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="comment">/** Initialize RTP media descriptor */</span></div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="keyword">static</span> APR_INLINE <span class="keywordtype">void</span> mpf_rtp_media_descriptor_init(<a class="code" href="structmpf__rtp__media__descriptor__t.html">mpf_rtp_media_descriptor_t</a> *media)</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;{</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;    media-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a4ae3ae6a2d3a9bdd8efd197d7b1ecae7">state</a> = <a class="code" href="mpf__rtp__descriptor_8h.html#ad569dee3730070c26e62010209646db7a5721a863cd49fceb0445ace1f8bfeeec">MPF_MEDIA_DISABLED</a>;</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    apt_string_reset(&amp;media-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a1d8edf7cbc30ea2519a77c3b4f45a8ac">ip</a>);</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    apt_string_reset(&amp;media-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#aac498739bd50ec98dbefe2e59beb2e6d">ext_ip</a>);</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    media-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a638ef8ef7d38ee333206b58f38c72187">port</a> = 0;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;    media-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#aaffc98c457718704f6d598dd4498e57e">direction</a> = <a class="code" href="mpf__stream__descriptor_8h.html#abc837ef6b117215b6635a4fb8f70ad93a73aa29b8ccbc8b3016c377d60dab6a05">STREAM_DIRECTION_NONE</a>;</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;    media-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a99de81ebe2d332ff48d1f151cfa16b65">ptime</a> = 0;</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    mpf_codec_list_reset(&amp;media-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#abb1dc7754473d60914465e0b3d3308f9">codec_list</a>);</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;    media-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a25ccf1eaab43d2b2c60057fc5d0c32a2">mid</a> = 0;</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    media-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a0245dda1c9ad0738a0218f010112b024">id</a> = 0;</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;}</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="comment">/** Initialize RTP stream descriptor */</span></div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="keyword">static</span> APR_INLINE <span class="keywordtype">void</span> mpf_rtp_stream_descriptor_init(<a class="code" href="structmpf__rtp__stream__descriptor__t.html">mpf_rtp_stream_descriptor_t</a> *descriptor)</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;{</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;    descriptor-&gt;<a class="code" href="structmpf__rtp__stream__descriptor__t.html#aa266b78cc4585b6903e0bb650ff6c4eb">capabilities</a> = NULL;</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    descriptor-&gt;<a class="code" href="structmpf__rtp__stream__descriptor__t.html#a49a1f947e4b6ee48d1c6b7e3c522debc">local</a> = NULL;</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    descriptor-&gt;<a class="code" href="structmpf__rtp__stream__descriptor__t.html#a2d3cbcf8d57d31fe3bf26d821aa640d2">remote</a> = NULL;</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;    descriptor-&gt;<a class="code" href="structmpf__rtp__stream__descriptor__t.html#ac528ba1c4d4a8b4201fbf1dc1bd23e4c">settings</a> = NULL;</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;}</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="comment">/** Initialize RTP termination descriptor */</span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="keyword">static</span> APR_INLINE <span class="keywordtype">void</span> mpf_rtp_termination_descriptor_init(<a class="code" href="structmpf__rtp__termination__descriptor__t.html">mpf_rtp_termination_descriptor_t</a> *rtp_descriptor)</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;{</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    mpf_rtp_stream_descriptor_init(&amp;rtp_descriptor-&gt;<a class="code" href="structmpf__rtp__termination__descriptor__t.html#a1b1a50f79709d1abfd9aba5dadf40fd9">audio</a>);</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;    mpf_rtp_stream_descriptor_init(&amp;rtp_descriptor-&gt;<a class="code" href="structmpf__rtp__termination__descriptor__t.html#ae998663600197f8e86ca79affc1a03eb">video</a>);</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;}</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="comment">/** Initialize JB config */</span></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="keyword">static</span> APR_INLINE <span class="keywordtype">void</span> mpf_jb_config_init(<a class="code" href="structmpf__jb__config__t.html">mpf_jb_config_t</a> *jb_config)</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;{</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;    jb_config-&gt;<a class="code" href="structmpf__jb__config__t.html#a61f7c24c1b3528c608102ca58448a9a5">adaptive</a> = 0;</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    jb_config-&gt;<a class="code" href="structmpf__jb__config__t.html#a90ca941bfd7957d387e1bb6a246b736e">initial_playout_delay</a> = 0;</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;    jb_config-&gt;<a class="code" href="structmpf__jb__config__t.html#a91539a43b6e7ee2247763567dcc11ff8">min_playout_delay</a> = 0;</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    jb_config-&gt;<a class="code" href="structmpf__jb__config__t.html#a8c69430a82a60df4e041b6a61d815a40">max_playout_delay</a> = 0;</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;    jb_config-&gt;<a class="code" href="structmpf__jb__config__t.html#a9f1af529f745ae9d2ac2e42031906a48">time_skew_detection</a> = 1;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;}</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<span class="comment">/** Allocate RTP config */</span></div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="keyword">static</span> APR_INLINE <a class="code" href="structmpf__rtp__config__t.html">mpf_rtp_config_t</a>* mpf_rtp_config_alloc(apr_pool_t *pool)</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;{</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    <a class="code" href="structmpf__rtp__config__t.html">mpf_rtp_config_t</a> *rtp_config = (<a class="code" href="structmpf__rtp__config__t.html">mpf_rtp_config_t</a>*)apr_palloc(pool,<span class="keyword">sizeof</span>(<a class="code" href="structmpf__rtp__config__t.html">mpf_rtp_config_t</a>));</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    apt_string_reset(&amp;rtp_config-&gt;<a class="code" href="structmpf__rtp__config__t.html#af2a23c05a4454e5359ebc8915fc86e21">ip</a>);</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    apt_string_reset(&amp;rtp_config-&gt;<a class="code" href="structmpf__rtp__config__t.html#a3a73403397c270c3e01dbf9bf21e4d20">ext_ip</a>);</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    rtp_config-&gt;<a class="code" href="structmpf__rtp__config__t.html#a4a2858cee85ceb94f5e7c68a3fe71f53">rtp_port_cur</a> = 0;</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;    rtp_config-&gt;<a class="code" href="structmpf__rtp__config__t.html#a5acc66213bba7940d28f821fe2b0f085">rtp_port_min</a> = 0;</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;    rtp_config-&gt;<a class="code" href="structmpf__rtp__config__t.html#ab8ede8f9c8c5a7c3c9cc85c7dec01146">rtp_port_max</a> = 0;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;    <span class="keywordflow">return</span> rtp_config;</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;}</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="comment">/** Allocate RTP settings */</span></div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="keyword">static</span> APR_INLINE <a class="code" href="structmpf__rtp__settings__t.html">mpf_rtp_settings_t</a>* mpf_rtp_settings_alloc(apr_pool_t *pool)</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;{</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    <a class="code" href="structmpf__rtp__settings__t.html">mpf_rtp_settings_t</a> *rtp_settings = (<a class="code" href="structmpf__rtp__settings__t.html">mpf_rtp_settings_t</a>*)apr_palloc(pool,<span class="keyword">sizeof</span>(<a class="code" href="structmpf__rtp__settings__t.html">mpf_rtp_settings_t</a>));</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    rtp_settings-&gt;<a class="code" href="structmpf__rtp__settings__t.html#ae21f9985830baff24b2536388d333a27">ptime</a> = 0;</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    mpf_codec_list_init(&amp;rtp_settings-&gt;<a class="code" href="structmpf__rtp__settings__t.html#ac2a1da60e7f3bd444f944308005ec37b">codec_list</a>,0,pool);</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;    rtp_settings-&gt;<a class="code" href="structmpf__rtp__settings__t.html#a4327c21be7d38aa4e037be189554945b">own_preferrence</a> = FALSE;</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;    rtp_settings-&gt;<a class="code" href="structmpf__rtp__settings__t.html#a2c261560e392746406a0d5372cfcb632">rtcp</a> = FALSE;</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    rtp_settings-&gt;<a class="code" href="structmpf__rtp__settings__t.html#a2d6544cbde3b2e13b1575a6259292c57">rtcp_bye_policy</a> = <a class="code" href="mpf__rtp__descriptor_8h.html#a67a95eac5238b1d777eec244adc2819aa24f884a815c37bb66c475119c25a8c2b">RTCP_BYE_DISABLE</a>;</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    rtp_settings-&gt;<a class="code" href="structmpf__rtp__settings__t.html#a6b2427c0748390c94945cce77bb7ff2e">rtcp_tx_interval</a> = 0;</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    rtp_settings-&gt;<a class="code" href="structmpf__rtp__settings__t.html#a4dae123e00399d1c7bb0e0c431a0435a">rtcp_rx_resolution</a> = 0;</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;    mpf_jb_config_init(&amp;rtp_settings-&gt;<a class="code" href="structmpf__rtp__settings__t.html#ae50e3c098edb2bd71522b49a02f6dadb">jb_config</a>);</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;    <span class="keywordflow">return</span> rtp_settings;</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;}</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;<span class="comment">/** Allocate RTP termination descriptor */</span></div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;<span class="keyword">static</span> APR_INLINE <a class="code" href="structmpf__rtp__termination__descriptor__t.html">mpf_rtp_termination_descriptor_t</a>* mpf_rtp_termination_descriptor_alloc(apr_pool_t *pool)</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;{</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    <a class="code" href="structmpf__rtp__termination__descriptor__t.html">mpf_rtp_termination_descriptor_t</a> *rtp_descriptor = (<a class="code" href="structmpf__rtp__termination__descriptor__t.html">mpf_rtp_termination_descriptor_t</a>*) apr_palloc(pool,<span class="keyword">sizeof</span>(<a class="code" href="structmpf__rtp__termination__descriptor__t.html">mpf_rtp_termination_descriptor_t</a>));</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;    mpf_rtp_termination_descriptor_init(rtp_descriptor);</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;    <span class="keywordflow">return</span> rtp_descriptor;</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;}</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;<span class="comment">/** Allocate RTP media descriptor */</span></div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;<span class="keyword">static</span> APR_INLINE <a class="code" href="structmpf__rtp__media__descriptor__t.html">mpf_rtp_media_descriptor_t</a>* mpf_rtp_media_descriptor_alloc(apr_pool_t *pool)</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;{</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;    <a class="code" href="structmpf__rtp__media__descriptor__t.html">mpf_rtp_media_descriptor_t</a> *media = (<a class="code" href="structmpf__rtp__media__descriptor__t.html">mpf_rtp_media_descriptor_t</a>*) apr_palloc(pool,<span class="keyword">sizeof</span>(<a class="code" href="structmpf__rtp__media__descriptor__t.html">mpf_rtp_media_descriptor_t</a>));</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;    mpf_rtp_media_descriptor_init(media);</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;    <span class="keywordflow">return</span> media;</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;}</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;<span class="comment">/** Copy RTP media descriptor */</span></div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;<span class="keyword">static</span> APR_INLINE <a class="code" href="structmpf__rtp__media__descriptor__t.html">mpf_rtp_media_descriptor_t</a>* mpf_rtp_media_descriptor_copy(<span class="keyword">const</span> <a class="code" href="structmpf__rtp__media__descriptor__t.html">mpf_rtp_media_descriptor_t</a> *src_media, apr_pool_t *pool)</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;{</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;    <a class="code" href="structmpf__rtp__media__descriptor__t.html">mpf_rtp_media_descriptor_t</a> *media = mpf_rtp_media_descriptor_alloc(pool);</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;    <span class="keywordflow">if</span>(src_media) {</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;        *media = *src_media;</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;        apt_string_copy(&amp;media-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a1d8edf7cbc30ea2519a77c3b4f45a8ac">ip</a>,&amp;src_media-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a1d8edf7cbc30ea2519a77c3b4f45a8ac">ip</a>,pool);</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;        apt_string_copy(&amp;media-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#aac498739bd50ec98dbefe2e59beb2e6d">ext_ip</a>,&amp;src_media-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#aac498739bd50ec98dbefe2e59beb2e6d">ext_ip</a>,pool);</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;    }</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;    <span class="keywordflow">return</span> media;</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;}</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;<span class="comment">/** Compare RTP media descriptors (return TRUE, if identical) */</span></div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;<span class="keyword">static</span> APR_INLINE <a class="code" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> mpf_rtp_media_descriptors_compare(<span class="keyword">const</span> <a class="code" href="structmpf__rtp__media__descriptor__t.html">mpf_rtp_media_descriptor_t</a> *media1, <span class="keyword">const</span> <a class="code" href="structmpf__rtp__media__descriptor__t.html">mpf_rtp_media_descriptor_t</a> *media2)</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;{</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;    <span class="keywordflow">if</span>(!media1 || !media2)</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;    <span class="keywordflow">if</span>(media1-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a4ae3ae6a2d3a9bdd8efd197d7b1ecae7">state</a> != media2-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a4ae3ae6a2d3a9bdd8efd197d7b1ecae7">state</a>)</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;    <span class="keywordflow">if</span>(apt_strings_compare(&amp;media1-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a1d8edf7cbc30ea2519a77c3b4f45a8ac">ip</a>, &amp;media2-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a1d8edf7cbc30ea2519a77c3b4f45a8ac">ip</a>) == FALSE)</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    <span class="keywordflow">if</span>(apt_strings_compare(&amp;media1-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#aac498739bd50ec98dbefe2e59beb2e6d">ext_ip</a>, &amp;media2-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#aac498739bd50ec98dbefe2e59beb2e6d">ext_ip</a>) == FALSE)</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;    <span class="keywordflow">if</span>(media1-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a638ef8ef7d38ee333206b58f38c72187">port</a> != media2-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a638ef8ef7d38ee333206b58f38c72187">port</a>)</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    <span class="keywordflow">if</span>(media1-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#aaffc98c457718704f6d598dd4498e57e">direction</a> != media2-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#aaffc98c457718704f6d598dd4498e57e">direction</a>)</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;    <span class="keywordflow">if</span>(media1-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a99de81ebe2d332ff48d1f151cfa16b65">ptime</a> != media2-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a99de81ebe2d332ff48d1f151cfa16b65">ptime</a>)</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;    <span class="keywordflow">if</span>(<a class="code" href="mpf__codec__descriptor_8h.html#a0b667049688dea09f5ddbe343f99dd28">mpf_codec_lists_compare</a>(&amp;media1-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#abb1dc7754473d60914465e0b3d3308f9">codec_list</a>, &amp;media2-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#abb1dc7754473d60914465e0b3d3308f9">codec_list</a>) == FALSE)</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    <span class="keywordflow">if</span>(media1-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a25ccf1eaab43d2b2c60057fc5d0c32a2">mid</a> != media2-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a25ccf1eaab43d2b2c60057fc5d0c32a2">mid</a>)</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    <span class="keywordflow">if</span>(media1-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a0245dda1c9ad0738a0218f010112b024">id</a> != media2-&gt;<a class="code" href="structmpf__rtp__media__descriptor__t.html#a0245dda1c9ad0738a0218f010112b024">id</a>)</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;    <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;}</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;<a class="code" href="apt_8h.html#a432919823b38eb7e2b6fa2b544fb1644">APT_END_EXTERN_C</a></div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* MPF_RTP_DESCRIPTOR_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="structmpf__jb__config__t_html"><div class="ttname"><a href="structmpf__jb__config__t.html">mpf_jb_config_t</a></div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:93</div></div>
<div class="ttc" id="structmpf__codec__list__t_html"><div class="ttname"><a href="structmpf__codec__list__t.html">mpf_codec_list_t</a></div><div class="ttdef"><b>Definition:</b> mpf_codec_descriptor.h:79</div></div>
<div class="ttc" id="structmpf__rtp__stream__descriptor__t_html"><div class="ttname"><a href="structmpf__rtp__stream__descriptor__t.html">mpf_rtp_stream_descriptor_t</a></div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:73</div></div>
<div class="ttc" id="mpf__rtp__descriptor_8h_html_a67a95eac5238b1d777eec244adc2819aa24f884a815c37bb66c475119c25a8c2b"><div class="ttname"><a href="mpf__rtp__descriptor_8h.html#a67a95eac5238b1d777eec244adc2819aa24f884a815c37bb66c475119c25a8c2b">RTCP_BYE_DISABLE</a></div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:108</div></div>
<div class="ttc" id="structmpf__rtp__config__t_html_ab8ede8f9c8c5a7c3c9cc85c7dec01146"><div class="ttname"><a href="structmpf__rtp__config__t.html#ab8ede8f9c8c5a7c3c9cc85c7dec01146">mpf_rtp_config_t::rtp_port_max</a></div><div class="ttdeci">apr_port_t rtp_port_max</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:122</div></div>
<div class="ttc" id="mpf__stream__descriptor_8h_html_abc837ef6b117215b6635a4fb8f70ad93a73aa29b8ccbc8b3016c377d60dab6a05"><div class="ttname"><a href="mpf__stream__descriptor_8h.html#abc837ef6b117215b6635a4fb8f70ad93a73aa29b8ccbc8b3016c377d60dab6a05">STREAM_DIRECTION_NONE</a></div><div class="ttdef"><b>Definition:</b> mpf_stream_descriptor.h:34</div></div>
<div class="ttc" id="structmpf__rtp__settings__t_html"><div class="ttname"><a href="structmpf__rtp__settings__t.html">mpf_rtp_settings_t</a></div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:128</div></div>
<div class="ttc" id="mpf__stream__descriptor_8h_html"><div class="ttname"><a href="mpf__stream__descriptor_8h.html">mpf_stream_descriptor.h</a></div><div class="ttdoc">MPF Stream Descriptor. </div></div>
<div class="ttc" id="structmpf__rtp__config__t_html_a3a73403397c270c3e01dbf9bf21e4d20"><div class="ttname"><a href="structmpf__rtp__config__t.html#a3a73403397c270c3e01dbf9bf21e4d20">mpf_rtp_config_t::ext_ip</a></div><div class="ttdeci">apt_str_t ext_ip</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:118</div></div>
<div class="ttc" id="structmpf__jb__config__t_html_a8c69430a82a60df4e041b6a61d815a40"><div class="ttname"><a href="structmpf__jb__config__t.html#a8c69430a82a60df4e041b6a61d815a40">mpf_jb_config_t::max_playout_delay</a></div><div class="ttdeci">apr_uint32_t max_playout_delay</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:99</div></div>
<div class="ttc" id="apt_8h_html_a432919823b38eb7e2b6fa2b544fb1644"><div class="ttname"><a href="apt_8h.html#a432919823b38eb7e2b6fa2b544fb1644">APT_END_EXTERN_C</a></div><div class="ttdeci">#define APT_END_EXTERN_C</div><div class="ttdef"><b>Definition:</b> apt.h:38</div></div>
<div class="ttc" id="mpf__codec__descriptor_8h_html_a0b667049688dea09f5ddbe343f99dd28"><div class="ttname"><a href="mpf__codec__descriptor_8h.html#a0b667049688dea09f5ddbe343f99dd28">mpf_codec_lists_compare</a></div><div class="ttdeci">apt_bool_t mpf_codec_lists_compare(const mpf_codec_list_t *codec_list1, const mpf_codec_list_t *codec_list2)</div></div>
<div class="ttc" id="apt_8h_html_ac7b6d8df47829d778eb598e1cc52cc2a"><div class="ttname"><a href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a></div><div class="ttdeci">int apt_bool_t</div><div class="ttdef"><b>Definition:</b> apt.h:57</div></div>
<div class="ttc" id="structmpf__rtp__config__t_html"><div class="ttname"><a href="structmpf__rtp__config__t.html">mpf_rtp_config_t</a></div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:114</div></div>
<div class="ttc" id="mpf__rtp__descriptor_8h_html_a67a95eac5238b1d777eec244adc2819a"><div class="ttname"><a href="mpf__rtp__descriptor_8h.html#a67a95eac5238b1d777eec244adc2819a">rtcp_bye_policy_e</a></div><div class="ttdeci">rtcp_bye_policy_e</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:107</div></div>
<div class="ttc" id="structmpf__rtp__settings__t_html_a2c261560e392746406a0d5372cfcb632"><div class="ttname"><a href="structmpf__rtp__settings__t.html#a2c261560e392746406a0d5372cfcb632">mpf_rtp_settings_t::rtcp</a></div><div class="ttdeci">apt_bool_t rtcp</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:136</div></div>
<div class="ttc" id="structmpf__rtp__settings__t_html_a4327c21be7d38aa4e037be189554945b"><div class="ttname"><a href="structmpf__rtp__settings__t.html#a4327c21be7d38aa4e037be189554945b">mpf_rtp_settings_t::own_preferrence</a></div><div class="ttdeci">apt_bool_t own_preferrence</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:134</div></div>
<div class="ttc" id="structmpf__rtp__termination__descriptor__t_html_ae998663600197f8e86ca79affc1a03eb"><div class="ttname"><a href="structmpf__rtp__termination__descriptor__t.html#ae998663600197f8e86ca79affc1a03eb">mpf_rtp_termination_descriptor_t::video</a></div><div class="ttdeci">mpf_rtp_stream_descriptor_t video</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:89</div></div>
<div class="ttc" id="structmpf__rtp__config__t_html_a4a2858cee85ceb94f5e7c68a3fe71f53"><div class="ttname"><a href="structmpf__rtp__config__t.html#a4a2858cee85ceb94f5e7c68a3fe71f53">mpf_rtp_config_t::rtp_port_cur</a></div><div class="ttdeci">apr_port_t rtp_port_cur</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:124</div></div>
<div class="ttc" id="structmpf__rtp__media__descriptor__t_html_a4ae3ae6a2d3a9bdd8efd197d7b1ecae7"><div class="ttname"><a href="structmpf__rtp__media__descriptor__t.html#a4ae3ae6a2d3a9bdd8efd197d7b1ecae7">mpf_rtp_media_descriptor_t::state</a></div><div class="ttdeci">mpf_media_state_e state</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:53</div></div>
<div class="ttc" id="structmpf__rtp__termination__descriptor__t_html"><div class="ttname"><a href="structmpf__rtp__termination__descriptor__t.html">mpf_rtp_termination_descriptor_t</a></div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:85</div></div>
<div class="ttc" id="structmpf__rtp__media__descriptor__t_html_a99de81ebe2d332ff48d1f151cfa16b65"><div class="ttname"><a href="structmpf__rtp__media__descriptor__t.html#a99de81ebe2d332ff48d1f151cfa16b65">mpf_rtp_media_descriptor_t::ptime</a></div><div class="ttdeci">apr_uint16_t ptime</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:63</div></div>
<div class="ttc" id="structmpf__rtp__settings__t_html_a2d6544cbde3b2e13b1575a6259292c57"><div class="ttname"><a href="structmpf__rtp__settings__t.html#a2d6544cbde3b2e13b1575a6259292c57">mpf_rtp_settings_t::rtcp_bye_policy</a></div><div class="ttdeci">rtcp_bye_policy_e rtcp_bye_policy</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:138</div></div>
<div class="ttc" id="structmpf__stream__capabilities__t_html"><div class="ttname"><a href="structmpf__stream__capabilities__t.html">mpf_stream_capabilities_t</a></div><div class="ttdef"><b>Definition:</b> mpf_stream_descriptor.h:43</div></div>
<div class="ttc" id="structmpf__rtp__media__descriptor__t_html_a25ccf1eaab43d2b2c60057fc5d0c32a2"><div class="ttname"><a href="structmpf__rtp__media__descriptor__t.html#a25ccf1eaab43d2b2c60057fc5d0c32a2">mpf_rtp_media_descriptor_t::mid</a></div><div class="ttdeci">apr_size_t mid</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:67</div></div>
<div class="ttc" id="structmpf__rtp__settings__t_html_a6b2427c0748390c94945cce77bb7ff2e"><div class="ttname"><a href="structmpf__rtp__settings__t.html#a6b2427c0748390c94945cce77bb7ff2e">mpf_rtp_settings_t::rtcp_tx_interval</a></div><div class="ttdeci">apr_uint16_t rtcp_tx_interval</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:140</div></div>
<div class="ttc" id="apt_8h_html_ad3d792bfc75893affad257781ea46e55"><div class="ttname"><a href="apt_8h.html#ad3d792bfc75893affad257781ea46e55">APT_BEGIN_EXTERN_C</a></div><div class="ttdeci">#define APT_BEGIN_EXTERN_C</div><div class="ttdef"><b>Definition:</b> apt.h:36</div></div>
<div class="ttc" id="mpf__rtp__descriptor_8h_html_ad569dee3730070c26e62010209646db7"><div class="ttname"><a href="mpf__rtp__descriptor_8h.html#ad569dee3730070c26e62010209646db7">mpf_media_state_e</a></div><div class="ttdeci">mpf_media_state_e</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:45</div></div>
<div class="ttc" id="mpf__stream__descriptor_8h_html_abc837ef6b117215b6635a4fb8f70ad93"><div class="ttname"><a href="mpf__stream__descriptor_8h.html#abc837ef6b117215b6635a4fb8f70ad93">mpf_stream_direction_e</a></div><div class="ttdeci">mpf_stream_direction_e</div><div class="ttdef"><b>Definition:</b> mpf_stream_descriptor.h:33</div></div>
<div class="ttc" id="structmpf__rtp__media__descriptor__t_html_a0245dda1c9ad0738a0218f010112b024"><div class="ttname"><a href="structmpf__rtp__media__descriptor__t.html#a0245dda1c9ad0738a0218f010112b024">mpf_rtp_media_descriptor_t::id</a></div><div class="ttdeci">apr_size_t id</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:69</div></div>
<div class="ttc" id="mpf__rtp__descriptor_8h_html_a67a95eac5238b1d777eec244adc2819aaf4086feb9685b1e51f41da298b14e08e"><div class="ttname"><a href="mpf__rtp__descriptor_8h.html#a67a95eac5238b1d777eec244adc2819aaf4086feb9685b1e51f41da298b14e08e">RTCP_BYE_PER_TALKSPURT</a></div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:110</div></div>
<div class="ttc" id="structmpf__jb__config__t_html_a91539a43b6e7ee2247763567dcc11ff8"><div class="ttname"><a href="structmpf__jb__config__t.html#a91539a43b6e7ee2247763567dcc11ff8">mpf_jb_config_t::min_playout_delay</a></div><div class="ttdeci">apr_uint32_t min_playout_delay</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:95</div></div>
<div class="ttc" id="mpf__rtp__descriptor_8h_html_ad569dee3730070c26e62010209646db7a6293631fbf5fc7adeb2e4cb6a351665c"><div class="ttname"><a href="mpf__rtp__descriptor_8h.html#ad569dee3730070c26e62010209646db7a6293631fbf5fc7adeb2e4cb6a351665c">MPF_MEDIA_ENABLED</a></div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:47</div></div>
<div class="ttc" id="structmpf__rtp__settings__t_html_ae50e3c098edb2bd71522b49a02f6dadb"><div class="ttname"><a href="structmpf__rtp__settings__t.html#ae50e3c098edb2bd71522b49a02f6dadb">mpf_rtp_settings_t::jb_config</a></div><div class="ttdeci">mpf_jb_config_t jb_config</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:144</div></div>
<div class="ttc" id="structmpf__rtp__media__descriptor__t_html_aac498739bd50ec98dbefe2e59beb2e6d"><div class="ttname"><a href="structmpf__rtp__media__descriptor__t.html#aac498739bd50ec98dbefe2e59beb2e6d">mpf_rtp_media_descriptor_t::ext_ip</a></div><div class="ttdeci">apt_str_t ext_ip</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:57</div></div>
<div class="ttc" id="structmpf__jb__config__t_html_a90ca941bfd7957d387e1bb6a246b736e"><div class="ttname"><a href="structmpf__jb__config__t.html#a90ca941bfd7957d387e1bb6a246b736e">mpf_jb_config_t::initial_playout_delay</a></div><div class="ttdeci">apr_uint32_t initial_playout_delay</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:97</div></div>
<div class="ttc" id="structmpf__rtp__config__t_html_af2a23c05a4454e5359ebc8915fc86e21"><div class="ttname"><a href="structmpf__rtp__config__t.html#af2a23c05a4454e5359ebc8915fc86e21">mpf_rtp_config_t::ip</a></div><div class="ttdeci">apt_str_t ip</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:116</div></div>
<div class="ttc" id="structmpf__rtp__stream__descriptor__t_html_ac528ba1c4d4a8b4201fbf1dc1bd23e4c"><div class="ttname"><a href="structmpf__rtp__stream__descriptor__t.html#ac528ba1c4d4a8b4201fbf1dc1bd23e4c">mpf_rtp_stream_descriptor_t::settings</a></div><div class="ttdeci">mpf_rtp_settings_t * settings</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:81</div></div>
<div class="ttc" id="structmpf__rtp__settings__t_html_ae21f9985830baff24b2536388d333a27"><div class="ttname"><a href="structmpf__rtp__settings__t.html#ae21f9985830baff24b2536388d333a27">mpf_rtp_settings_t::ptime</a></div><div class="ttdeci">apr_uint16_t ptime</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:130</div></div>
<div class="ttc" id="structmpf__rtp__media__descriptor__t_html"><div class="ttname"><a href="structmpf__rtp__media__descriptor__t.html">mpf_rtp_media_descriptor_t</a></div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:51</div></div>
<div class="ttc" id="structmpf__rtp__media__descriptor__t_html_a638ef8ef7d38ee333206b58f38c72187"><div class="ttname"><a href="structmpf__rtp__media__descriptor__t.html#a638ef8ef7d38ee333206b58f38c72187">mpf_rtp_media_descriptor_t::port</a></div><div class="ttdeci">apr_port_t port</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:59</div></div>
<div class="ttc" id="structapt__str__t_html"><div class="ttname"><a href="structapt__str__t.html">apt_str_t</a></div><div class="ttdef"><b>Definition:</b> apt_string.h:36</div></div>
<div class="ttc" id="structmpf__rtp__stream__descriptor__t_html_a2d3cbcf8d57d31fe3bf26d821aa640d2"><div class="ttname"><a href="structmpf__rtp__stream__descriptor__t.html#a2d3cbcf8d57d31fe3bf26d821aa640d2">mpf_rtp_stream_descriptor_t::remote</a></div><div class="ttdeci">mpf_rtp_media_descriptor_t * remote</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:79</div></div>
<div class="ttc" id="mpf__rtp__descriptor_8h_html_ad569dee3730070c26e62010209646db7a5721a863cd49fceb0445ace1f8bfeeec"><div class="ttname"><a href="mpf__rtp__descriptor_8h.html#ad569dee3730070c26e62010209646db7a5721a863cd49fceb0445ace1f8bfeeec">MPF_MEDIA_DISABLED</a></div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:46</div></div>
<div class="ttc" id="structmpf__rtp__media__descriptor__t_html_a1d8edf7cbc30ea2519a77c3b4f45a8ac"><div class="ttname"><a href="structmpf__rtp__media__descriptor__t.html#a1d8edf7cbc30ea2519a77c3b4f45a8ac">mpf_rtp_media_descriptor_t::ip</a></div><div class="ttdeci">apt_str_t ip</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:55</div></div>
<div class="ttc" id="structmpf__rtp__settings__t_html_ac2a1da60e7f3bd444f944308005ec37b"><div class="ttname"><a href="structmpf__rtp__settings__t.html#ac2a1da60e7f3bd444f944308005ec37b">mpf_rtp_settings_t::codec_list</a></div><div class="ttdeci">mpf_codec_list_t codec_list</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:132</div></div>
<div class="ttc" id="structmpf__rtp__settings__t_html_a4dae123e00399d1c7bb0e0c431a0435a"><div class="ttname"><a href="structmpf__rtp__settings__t.html#a4dae123e00399d1c7bb0e0c431a0435a">mpf_rtp_settings_t::rtcp_rx_resolution</a></div><div class="ttdeci">apr_uint16_t rtcp_rx_resolution</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:142</div></div>
<div class="ttc" id="structmpf__rtp__stream__descriptor__t_html_aa266b78cc4585b6903e0bb650ff6c4eb"><div class="ttname"><a href="structmpf__rtp__stream__descriptor__t.html#aa266b78cc4585b6903e0bb650ff6c4eb">mpf_rtp_stream_descriptor_t::capabilities</a></div><div class="ttdeci">mpf_stream_capabilities_t * capabilities</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:75</div></div>
<div class="ttc" id="structmpf__rtp__media__descriptor__t_html_aaffc98c457718704f6d598dd4498e57e"><div class="ttname"><a href="structmpf__rtp__media__descriptor__t.html#aaffc98c457718704f6d598dd4498e57e">mpf_rtp_media_descriptor_t::direction</a></div><div class="ttdeci">mpf_stream_direction_e direction</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:61</div></div>
<div class="ttc" id="structmpf__jb__config__t_html_a9f1af529f745ae9d2ac2e42031906a48"><div class="ttname"><a href="structmpf__jb__config__t.html#a9f1af529f745ae9d2ac2e42031906a48">mpf_jb_config_t::time_skew_detection</a></div><div class="ttdeci">apr_byte_t time_skew_detection</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:103</div></div>
<div class="ttc" id="structmpf__rtp__media__descriptor__t_html_abb1dc7754473d60914465e0b3d3308f9"><div class="ttname"><a href="structmpf__rtp__media__descriptor__t.html#abb1dc7754473d60914465e0b3d3308f9">mpf_rtp_media_descriptor_t::codec_list</a></div><div class="ttdeci">mpf_codec_list_t codec_list</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:65</div></div>
<div class="ttc" id="structmpf__rtp__config__t_html_a5acc66213bba7940d28f821fe2b0f085"><div class="ttname"><a href="structmpf__rtp__config__t.html#a5acc66213bba7940d28f821fe2b0f085">mpf_rtp_config_t::rtp_port_min</a></div><div class="ttdeci">apr_port_t rtp_port_min</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:120</div></div>
<div class="ttc" id="structmpf__rtp__stream__descriptor__t_html_a49a1f947e4b6ee48d1c6b7e3c522debc"><div class="ttname"><a href="structmpf__rtp__stream__descriptor__t.html#a49a1f947e4b6ee48d1c6b7e3c522debc">mpf_rtp_stream_descriptor_t::local</a></div><div class="ttdeci">mpf_rtp_media_descriptor_t * local</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:77</div></div>
<div class="ttc" id="structmpf__jb__config__t_html_a61f7c24c1b3528c608102ca58448a9a5"><div class="ttname"><a href="structmpf__jb__config__t.html#a61f7c24c1b3528c608102ca58448a9a5">mpf_jb_config_t::adaptive</a></div><div class="ttdeci">apr_byte_t adaptive</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:101</div></div>
<div class="ttc" id="apt__string_8h_html"><div class="ttname"><a href="apt__string_8h.html">apt_string.h</a></div><div class="ttdoc">String Representation. </div></div>
<div class="ttc" id="mpf__rtp__descriptor_8h_html_a67a95eac5238b1d777eec244adc2819aa29d08e6fe3b1743bf997aeaff743c14c"><div class="ttname"><a href="mpf__rtp__descriptor_8h.html#a67a95eac5238b1d777eec244adc2819aa29d08e6fe3b1743bf997aeaff743c14c">RTCP_BYE_PER_SESSION</a></div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:109</div></div>
<div class="ttc" id="structmpf__rtp__termination__descriptor__t_html_a1b1a50f79709d1abfd9aba5dadf40fd9"><div class="ttname"><a href="structmpf__rtp__termination__descriptor__t.html#a1b1a50f79709d1abfd9aba5dadf40fd9">mpf_rtp_termination_descriptor_t::audio</a></div><div class="ttdeci">mpf_rtp_stream_descriptor_t audio</div><div class="ttdef"><b>Definition:</b> mpf_rtp_descriptor.h:87</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Aug 22 2017 10:11:48 for UniMRCP by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
